#ifndef ADVANCING_FRONT_2D_H
#define ADVANCING_FRONT_2D_H

#include <vector>
#include <iostream>

#include "methods.h"
#include "face.h"

class AdvancingFront2D : public Methods {
    public:
        AdvancingFront2D();
        ~AdvancingFront2D();

        std::vector<Face *> calculate(Object *, Face *);

    private:
        std::vector<Face *> triangulate(Object *, Face *);
        void fixEdges(Object *, Face *);
};

#endif



